//
//  NSObject+RunEquipment.m
//  高仿暴走斗图
//
//  Created by key on 16/6/20.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#import "NSObject+RunEquipment.h"

@implementation NSObject (RunEquipment)


- (RACSignal *)rac_getRunEquipmentType
{
    return [RACSignal createSignal:^RACDisposable *(id<RACSubscriber> subscriber) {
        
#if TARGET_IPHONE_SIMULATOR//模拟器
        [subscriber sendNext:@(kSchoRunEquipmentTypeSimulator)];
        [subscriber sendCompleted];
#elif TARGET_OS_IPHONE//真机
        [subscriber sendNext:@(kSchoRunEquipmentTypeIPhone)];
        [subscriber sendCompleted];
#endif
        return nil;
    }];
}

@end
